import Authority from "../views/authorityManage/authorityManage"
import AuthorityList from "../views/authorityManage/list";
import AuthorityDetail from "../views/authorityManage/detail";


const authorityManage = {
    path: '/authorityManage',
    name: 'AuthorityManage',
    meta: {
        title: "权限管理",
        requireAuth: true
    },
    redirect: "/authorityManage/list",
    children: [{
        path: "list",
        component: AuthorityList,
        meta: {
            title: "管理员列表",
            requireAuth: true
        }
    }, {
        path: "detail",
        component: AuthorityDetail,
        meta: {
            title: "权限详情",
            requireAuth: true
        }
    }],
    component: Authority,
}


export default authorityManage;